package com.sunny.ynhz.bean;

import java.util.List;

/**
 * Created by luao on 2017/6/7.
 */

public class HistoryPatrolBean {

    /**
     * msg : 数据查询成功！
     * data : {"rows":[{"RN":1,"addvcd":null,"distance":0,"endAddr":null,"endTm":null,"id":"ca4e14f3-0f17-409c-a753-05d16d54539c","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-07-13 14:16:29","wnum":0,"znum":0},{"RN":2,"addvcd":null,"distance":0,"endAddr":"科学道路","endTm":"2017-07-12 17:33:30","id":"ab653612-252d-4ef2-960e-86659fa5ce78","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-07-12 17:33:29","wnum":0,"znum":0},{"RN":3,"addvcd":null,"distance":0,"endAddr":"科学道路","endTm":"2017-07-11 19:32:24","id":"963eeafb-bcbb-4278-9f54-a73361a58f2c","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-07-11 19:26:29","wnum":18,"znum":18},{"RN":4,"addvcd":null,"distance":0,"endAddr":"科学道路","endTm":"2017-06-23 12:13:32","id":"afe38601-02a6-468c-a080-7247a12f6397","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-06-23 12:12:54","wnum":1,"znum":1}],"total":4}
     * errcode : 0
     */

    private String msg;
    private DataBean data;
    private int errcode;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public static class DataBean {
        /**
         * rows : [{"RN":1,"addvcd":null,"distance":0,"endAddr":null,"endTm":null,"id":"ca4e14f3-0f17-409c-a753-05d16d54539c","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-07-13 14:16:29","wnum":0,"znum":0},{"RN":2,"addvcd":null,"distance":0,"endAddr":"科学道路","endTm":"2017-07-12 17:33:30","id":"ab653612-252d-4ef2-960e-86659fa5ce78","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-07-12 17:33:29","wnum":0,"znum":0},{"RN":3,"addvcd":null,"distance":0,"endAddr":"科学道路","endTm":"2017-07-11 19:32:24","id":"963eeafb-bcbb-4278-9f54-a73361a58f2c","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-07-11 19:26:29","wnum":18,"znum":18},{"RN":4,"addvcd":null,"distance":0,"endAddr":"科学道路","endTm":"2017-06-23 12:13:32","id":"afe38601-02a6-468c-a080-7247a12f6397","isReport":"0","log":null,"patrolMan":"郭小东","patrolType":"1","personId":"c5ffce62-6ef4-449d-91fe-26771b5f2182","startAddr":"稻香路","strTm":"2017-06-23 12:12:54","wnum":1,"znum":1}]
         * total : 4
         */

        private int total;
        private List<RowsBean> rows;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * RN : 1
             * addvcd : null
             * distance : 0
             * endAddr : null
             * endTm : null
             * id : ca4e14f3-0f17-409c-a753-05d16d54539c
             * isReport : 0
             * log : null
             * patrolMan : 郭小东
             * patrolType : 1
             * personId : c5ffce62-6ef4-449d-91fe-26771b5f2182
             * startAddr : 稻香路
             * strTm : 2017-07-13 14:16:29
             * wnum : 0
             * znum : 0
             */

            private int RN;
            private String addvcd;
            private int distance;
            private String endAddr;
            private String endTm;
            private String id;
            private String isReport;
            private String log;
            private String patrolMan;
            private String patrolType;
            private String personId;
            private String startAddr;
            private String strTm;
            private int wnum;
            private int znum;

            public int getRN() {
                return RN;
            }

            public void setRN(int RN) {
                this.RN = RN;
            }

            public String getAddvcd() {
                return addvcd;
            }

            public void setAddvcd(String addvcd) {
                this.addvcd = addvcd;
            }

            public int getDistance() {
                return distance;
            }

            public void setDistance(int distance) {
                this.distance = distance;
            }

            public String getEndAddr() {
                return endAddr;
            }

            public void setEndAddr(String endAddr) {
                this.endAddr = endAddr;
            }

            public String getEndTm() {
                return endTm;
            }

            public void setEndTm(String endTm) {
                this.endTm = endTm;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getIsReport() {
                return isReport;
            }

            public void setIsReport(String isReport) {
                this.isReport = isReport;
            }

            public String getLog() {
                return log;
            }

            public void setLog(String log) {
                this.log = log;
            }

            public String getPatrolMan() {
                return patrolMan;
            }

            public void setPatrolMan(String patrolMan) {
                this.patrolMan = patrolMan;
            }

            public String getPatrolType() {
                return patrolType;
            }

            public void setPatrolType(String patrolType) {
                this.patrolType = patrolType;
            }

            public String getPersonId() {
                return personId;
            }

            public void setPersonId(String personId) {
                this.personId = personId;
            }

            public String getStartAddr() {
                return startAddr;
            }

            public void setStartAddr(String startAddr) {
                this.startAddr = startAddr;
            }

            public String getStrTm() {
                return strTm;
            }

            public void setStrTm(String strTm) {
                this.strTm = strTm;
            }

            public int getWnum() {
                return wnum;
            }

            public void setWnum(int wnum) {
                this.wnum = wnum;
            }

            public int getZnum() {
                return znum;
            }

            public void setZnum(int znum) {
                this.znum = znum;
            }
        }
    }
}
